package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;

import com.aijk.ehm.model.EhmProblemRecord;
import com.aijk.ehm.model.qo.EhmProblemRecordQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EhmProblemRecordApi {
    Long save(EhmProblemRecord bean) throws ErrorCodeException;

    void update(EhmProblemRecord bean) throws ErrorCodeException;

    EhmProblemRecord findOne(Long id) throws ErrorCodeException;

    List<EhmProblemRecord> list(EhmProblemRecordQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(EhmProblemRecordQo qo);

    PageInfo<EhmProblemRecord> page(EhmProblemRecordQo qo);
}